/* 遮罩层样式 */
.msgbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 确保弹窗在最上层 */
  }
  
  /* 弹窗内容样式 */
  .msgbox-content {
    background-color: white;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
  }
  
  /* 弹窗头部样式 */
  .msgbox-header {
    padding: 16px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fafafa;
  }
  
  .msgbox-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
  }
  
  /* 弹窗主体样式 */
  .msgbox-body {
    padding: 16px;
    font-size: 14px;
    color: #666;
  }
  
  /* 弹窗底部样式 */
  .msgbox-footer {
    padding: 16px;
    border-top: 1px solid #e8e8e8;
    text-align: right;
  }
  
  /* 按钮样式 */
  .msgbox-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
  }
  
  .ok-button {
    background-color: #1890ff;
    color: white;
  }
  
  .ok-button:hover {
    background-color: #40a9ff;
  }
  
  .cancel-button {
    background-color: #f5f5f5;
    color: #333;
  }
  
  .cancel-button:hover {
    background-color: #e8e8e8;
  }